<html>
<head>

</head>

<body>

<h1>欢迎 {$Think.session.username} {$Think.session.uid} <a href="__URL__/logout">退出</a> {$time|date="Y-m-d",###}</h1>

<form action="__URL__/borrow_instrument" method="post">
<table border="1"  width="400" cellpadding="10">
	<input type="hidden" name="iid" value="{$data.id}"  />
   <tr> <th>出厂编号</th><th>{$data.inum}</th></tr>
     <tr><th>仪器型号</th><th>{$data.iname}</th></tr>
	 <tr><th>仪器类型</th><th>{$data.itype}</th></tr>
	 <tr><th>制造商</th><th>{$data.buid}</th></tr>
	 <tr><th>购置时间</th><th>{$data.btime}</th></tr>
	 <tr><th>检测证书</th><th>{$data.icnum}</th></tr>
	 <tr><th>检测时间</th><th>{$data.jztime|date="Y-m-d",###}</th></tr>
	 <tr><th>有效时间</th><th>{$data.yxtime|date="Y-m-d",###}</th></tr>
	 <tr><th>状态</th>  <th> <switch name="data.istatus">
        <case value="0">库存</case>
		<case value="1">借出</case>
		<case value="2">送检</case>
        <default />
    </switch></th></tr>
  <tr><th>工地：<input type="text" name="bat"  /></th><th ><button  type="submit" value="Submit" <neq name="data.istatus" value="0">  disabled="disabled" </neq>>借用</button></th></tr>

  
</table>
</form>

</body>


</html> 
